import yaml


def load_yaml(yaml_file):
    """
    加载yaml文件
    """
    with open(yaml_file, 'r', encoding='utf-8') as file:
        data = yaml.safe_load(file)
        return data

